﻿Imports SIGI.Common.BE
Imports SIGI.BackEnd.SVC

Public Class ClientController

#Region "<< -SearchByParams- >>"
    Public Function SearchByParams(pClientParams As ClientBE) As List(Of ClientBE)
        Return ClientSVC.SearchByParams(pClientParams)
    End Function
#End Region

#Region "<< -Search- >>"
    Public Function Search(pActive As Boolean) As List(Of ClientBE)
        Return ClientSVC.Search(pActive)
    End Function
#End Region

#Region "<< -Insert- >>"
    Public Function Insert(pClient As ClientBE) As Integer
        Return ClientSVC.Insert(pClient)
    End Function
#End Region

#Region "<< -Update- >>"
    Public Sub Update(pClient As ClientBE)
        ClientSVC.Update(pClient)
    End Sub
#End Region

#Region "<< -Delete- >>"
    Public Function Delete(pClient As ClientBE) As Boolean
        Return ClientSVC.Delete(pClient)
    End Function
#End Region

End Class
